package com.cyj.dream.core.constant.pagemodel;

import lombok.Data;
import lombok.ToString;

/**
 * @Description: 封装分页参数 PageRowsParam<为实体对象添加--分页参数>
 * @BelongsProject: DreamChardonnay
 * @BelongsPackage: com.cyj.dream.core.constant.pagemodel
 * @Author: ChenYongJia
 * @CreateTime: 2021-09-26 10:28
 * @Email: chen87647213@163.com
 * @Version: 1.0
 */
@Data
@ToString
public class PageRowsParam<T> {

    /**
     * controller 控制器可以用后面的方式入参 -->@RequestBody PageParam<OrganizationRegionUserRequestDTO> param
     */
    private Integer page = 1;
    private Integer rows = 10;
    private T param;

}